package site.jlopen.domain.job;

import java.util.Date;
/**
* @ClassName: KusciaJobTask
* @Description: kuscia_job_task表：执行任务的单个节点任务
* @author 码农小鹿
* @date 2024-08-29
 */
public class KusciaJobTask {
	/**
	 * 主键
	 */
	private Long taskId;
	/**
	 * 所属任务
	 */
	private Long taskJobId;
	/**
	 * 组件ID
	 */
	private String taskNodeId;
	/**
	 * 组件编号
	 */
	private String taskCode;
	/**
	 * PENDING,STOPED,SUCCEED,FAILED
	 */
	private String taskStatus;
	/**
	 * 错误信息
	 */
	private String taskErrMsg;
	/**
	 * 任务taskInfo内容
	 */
	private String taskJson;
	/**
	 * 创建时间
	 */
	private Date taskCreate;
	/**
	 * 最后操作时间
	 */
	private Date taskUpdate;
	/**
	 * 删除状态
	 */
	private Integer taskDelete;

	public KusciaJobTask() {
		super();
	}

	public Long getTaskId() {
		return taskId;
	}

	public KusciaJobTask setTaskId(Long taskId) {
		this.taskId = taskId;
		return this;
	}

	public Long getTaskJobId() {
		return taskJobId;
	}

	public KusciaJobTask setTaskJobId(Long taskJobId) {
		this.taskJobId = taskJobId;
		return this;
	}

	public String getTaskNodeId() {
		return taskNodeId;
	}

	public KusciaJobTask setTaskNodeId(String taskNodeId) {
		this.taskNodeId = taskNodeId;
		return this;
	}

	public String getTaskCode() {
		return taskCode;
	}

	public KusciaJobTask setTaskCode(String taskCode) {
		this.taskCode = taskCode;
		return this;
	}

	public String getTaskStatus() {
		return taskStatus;
	}

	public KusciaJobTask setTaskStatus(String taskStatus) {
		this.taskStatus = taskStatus;
		return this;
	}

	public String getTaskErrMsg() {
		return taskErrMsg;
	}

	public KusciaJobTask setTaskErrMsg(String taskErrMsg) {
		this.taskErrMsg = taskErrMsg;
		return this;
	}

	public String getTaskJson() {
		return taskJson;
	}

	public KusciaJobTask setTaskJson(String taskJson) {
		this.taskJson = taskJson;
		return this;
	}

	public Date getTaskCreate() {
		return taskCreate;
	}

	public KusciaJobTask setTaskCreate(Date taskCreate) {
		this.taskCreate = taskCreate;
		return this;
	}

	public Date getTaskUpdate() {
		return taskUpdate;
	}

	public KusciaJobTask setTaskUpdate(Date taskUpdate) {
		this.taskUpdate = taskUpdate;
		return this;
	}

	public Integer getTaskDelete() {
		return taskDelete;
	}

	public KusciaJobTask setTaskDelete(Integer taskDelete) {
		this.taskDelete = taskDelete;
		return this;
	}
	
	
}